-- GENERATED SPELL FOR [Gorloc Mud Splasher] --


function spell0_25699(pUnit, Event) --@Gorloc Stomp,Self--
pUnit:FullCastSpellOnTarget(50522,pUnit)
pUnit:RegisterEvent('Sorts_25699', 10255, 1)
end

function Sorts_25699(pUnit, Event)
local choix_sorts_25699 = math.random(0, 0)
if choix_sorts_25699 == 0 then
pUnit:RegisterEvent('spell0_25699', 1, 1)
end
end

function mob25699_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25699', math.random(1500, 3000), 1)
end

function mob25699_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25699_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25699_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25699, 1, 'mob25699_Action')
RegisterUnitEvent(25699, 2, 'mob25699_Leave')
RegisterUnitEvent(25699, 3, 'mob25699_Kill')
RegisterUnitEvent(25699, 4, 'mob25699_Die')
